/**
 * 
 */
package hu.cubussapiens.facts;

import java.util.List;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 * @author balage
 *
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class AccessTicket {

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;
	
	@Persistent
	private String owner;

	@Persistent
	private List<String> users;
	
	public Long getId() {
		return id;
	}
	
	public String getOwner() {
		return owner;
	}
	
	public List<String> getUsers() {
		return users;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public void setOwner(String owner) {
		this.owner = owner;
	}
	
	public void setUsers(List<String> users) {
		this.users = users;
	}
	
}
